#define _CRT_SECURE_NO_WARNINGS 1 
#include<stdio.h>
#include<stdlib.h>

int main()
{
	char str[50] = { 0 };
	char* p = str;
	int count = 0;
	scanf("%s", str);
	while (*p != '\0')
	{
		count++;
		p++;
	}
	printf("%d", count);
	system("pause");
	return 0;
}